package com.tnt.hpit.gamelogic;

import com.badlogic.gdx.Game;
import com.badlogic.gdx.Gdx;
import com.tnt.hpit.helper.MyConnectHelper;
import com.tnt.hpit.screens.SplashScreen;
import com.tnt.hpit.shared.Constants;

public class GameControl extends Game{

	public MyConnectHelper myConnectHelper;
	public static final String LOG = "TNT Game control";
	public GameControl(){
	};
	public GameControl(MyConnectHelper myConnectHelper){
		
		this.myConnectHelper = myConnectHelper;
	}
	
	@Override
	public void create() {
		Constants.printLog(this.toString(), "set screen splash");
		setScreen( new SplashScreen(this));
	}
	public static void printLog(String strLog){
		Gdx.app.log(GameControl.LOG, strLog);
	}
}
